<?php

declare(strict_types=1);

namespace App\Game\Model;

use App\Fastapp\Model\FileTrait;
use Mine\MineModel;

/**
 * @property int $id 主键
 * @property array $name 名称
 * @property string $code 标识
 * @property int $status 1正常
 * @property int $rtp rtp
 * @property int $sort 排序
 * @property string $icon
 * @property array $config 
 */
class GamePlatform extends MineModel
{
    use FileTrait;

    public bool $timestamps = false;
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'game_platform';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'name', 'code', 'status', 'rtp', 'sort', 'icon', 'config'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'name' => 'array', 'status' => 'integer', 'rtp' => 'integer', 'sort' => 'integer', 'config' => 'array'];
}
